package cn.harveychan.xuecheng.manage_cms;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.domain.EntityScan;
import org.springframework.context.annotation.ComponentScan;

@SpringBootApplication
@EntityScan("cn.harveychan.xuecheng.framework.domain.cms") // 扫描实体类
@ComponentScan(basePackages = {"cn.harveychan.xuecheng.api"}) // 扫描接口
@ComponentScan(basePackages = {"cn.harveychan.xuecheng.manage_cms"}) // 扫描本项目下的所有类
public class ManageCmsApplication {

    public static void main(String[] args) {
        SpringApplication.run(ManageCmsApplication.class, args);
    }
}
